package br3akr.DeadlyDinnerParty.Server.World;

import java.util.HashSet;
import java.util.Set;

import br3akr.DeadlyDinnerParty.Server.Actions.ScryAction;

public class Witch extends GameCharacter {
    
	private boolean revealed;
    private static final Set<String> actionKeywords;
	static
	{
		actionKeywords = new HashSet<String>();
		actionKeywords.addAll(ScryAction.keywords);
	}
    public Witch(String name, GameCharacter.Gender gender) {
        super(name, gender, "Witch", actionKeywords);
        revealed = false;
    }
    
    public boolean isRevealed() {
    	return revealed;
    }
    
    public void setRevealed(boolean r) {
    	this.revealed = r;
    }
    
	@Override
	public boolean isHiddenFrom(GameCharacter c) {
		boolean retval = false;
		
		if (c != null) {
			retval = !revealed;
		}
		return retval;
	}
}